<?php
header('Content-Type: text/html; charset=ISO-8859-1');
/**
 * 	Konfiguration E-Mail
 */
 
// Zieladresse
$zieladresse = 'info@ms-flug.de';
//$zieladresse = 'kahl_fashion@hotmail.com';
// Absender
$absenderadresse = 'info@ms-flug.de';

// Absendernamen
$absendername = 'MS-FLUG';

// Betreff
$betreff = 'Jemand moechte eine Sammelbestellung aufgeben';
$betreffKunde = 'Ihre Sammelbestellung bei MS-Flug';

// Weiterleitung
$urlDankeSeite = 'http://www.ms-flug.de/shop_content.php/coID/206/content/Sammelbestellung---Abgeschlossen';

/**
 * Ende Konfiguration
 */

if ($_SERVER['REQUEST_METHOD'] === "POST") {

	$header = array();
	$header[] = "From: ".mb_encode_mimeheader($absendername, "utf-8", "Q")." <".$absenderadresse.">";
	$header[] = "MIME-Version: 1.0";
	$header[] = "Content-type: text/html; charset=utf-8";
	$header[] = "Content-transfer-encoding: 8bit";
	
	//Rechnungsadresse
	$verein = $_POST['verein'];
	$name = $_POST['name'];
	$strasse = $_POST['strasse'];
	$plzort = $_POST['plzort'];
	$email = $_POST['email'];
	$tel = $_POST['tel'];
	$fax = $_POST['fax'];


	//Luftfahrtkarte ICAO 1:500 000, inkl Nachttiefflugstrecken, Ausgabe 2013
	$berlin500iN0 = $_POST['berlin500iN0'];
	$berlin500iN1 = $_POST['berlin500iN1'];
	$berlin500iN2 = $_POST['berlin500iN2'];
	$berlin500iN3 = $_POST['berlin500iN3'];	

	$frankfurt500iN0 = $_POST['frankfurt500iN0'];	
	$frankfurt500iN1 = $_POST['frankfurt500iN1'];
	$frankfurt500iN2 = $_POST['frankfurt500iN2'];
	$frankfurt500iN3 = $_POST['frankfurt500iN3'];

	$hamburg500iN0 = $_POST['hamburg500iN0'];
	$hamburg500iN1 = $_POST['hamburg500iN1'];
	$hamburg500iN2 = $_POST['hamburg500iN2'];
	$hamburg500iN3 = $_POST['hamburg500iN3'];

	$hannover500iN0 = $_POST['hannover500iN0'];
	$hannover500iN1 = $_POST['hannover500iN1'];
	$hannover500iN2 = $_POST['hannover500iN2'];
	$hannover500iN3 = $_POST['hannover500iN3'];

	$muenchen500iN0 = $_POST['muenchen500iN0'];
	$muenchen500iN1 = $_POST['muenchen500iN1'];
	$muenchen500iN2 = $_POST['muenchen500iN2'];
	$muenchen500iN3 = $_POST['muenchen500iN3'];

	$nuernberg500iN0 = $_POST['nuernberg500iN0'];
	$nuernberg500iN1 = $_POST['nuernberg500iN1'];
	$nuernberg500iN2 = $_POST['nuernberg500iN2'];
	$nuernberg500iN3 = $_POST['nuernberg500iN3'];

	$rostock500iN0 = $_POST['rostock500iN0'];
	$rostock500iN1 = $_POST['rostock500iN1'];
	$rostock500iN2 = $_POST['rostock500iN2'];
	$rostock500iN3 = $_POST['rostock500iN3'];

	$stuttgart500iN0 = $_POST['stuttgart500iN0'];
	$stuttgart500iN1 = $_POST['stuttgart500iN1'];
	$stuttgart500iN2 = $_POST['stuttgart500iN2'];
	$stuttgart500iN3 = $_POST['stuttgart500iN3'];

	//Luftfahrtkarte ICAO 1:500 000, ohne Nachttiefflugstrecken, Ausgabe 2013
	$berlin500oN0 = $_POST['berlin500oN0'];
	$berlin500oN1 = $_POST['berlin500oN1'];
	$berlin500oN2 = $_POST['berlin500oN2'];
	$berlin500oN3 = $_POST['berlin500oN3'];	

	$frankfurt500oN0 = $_POST['frankfurt500oN0'];	
	$frankfurt500oN1 = $_POST['frankfurt500oN1'];
	$frankfurt500oN2 = $_POST['frankfurt500oN2'];
	$frankfurt500oN3 = $_POST['frankfurt500oN3'];

	$hamburg500oN0 = $_POST['hamburg500oN0'];
	$hamburg500oN1 = $_POST['hamburg500oN1'];
	$hamburg500oN2 = $_POST['hamburg500oN2'];
	$hamburg500oN3 = $_POST['hamburg500oN3'];

	$hannover500oN0 = $_POST['hannover500oN0'];
	$hannover500oN1 = $_POST['hannover500oN1'];
	$hannover500oN2 = $_POST['hannover500oN2'];
	$hannover500oN3 = $_POST['hannover500oN3'];

	$muenchen500oN0 = $_POST['muenchen500oN0'];
	$muenchen500oN1 = $_POST['muenchen500oN1'];
	$muenchen500oN2 = $_POST['muenchen500oN2'];
	$muenchen500oN3 = $_POST['muenchen500oN3'];

	$nuernberg500oN0 = $_POST['nuernberg500oN0'];
	$nuernberg500oN1 = $_POST['nuernberg500oN1'];
	$nuernberg500oN2 = $_POST['nuernberg500oN2'];
	$nuernberg500oN3 = $_POST['nuernberg500oN3'];

	$rostock500oN0 = $_POST['rostock500oN0'];
	$rostock500oN1 = $_POST['rostock500oN1'];
	$rostock500oN2 = $_POST['rostock500oN2'];
	$rostock500oN3 = $_POST['rostock500oN3'];

	$stuttgart500oN0 = $_POST['stuttgart500oN0'];
	$stuttgart500oN1 = $_POST['stuttgart500oN1'];
	$stuttgart500oN2 = $_POST['stuttgart500oN2'];
	$stuttgart500oN3 = $_POST['stuttgart500oN3'];

	//Luftfahrtkarte ICAO 1:250 000, Ausgabe 2013, Rhein Rhur
	$rheinruhr2500 = $_POST['rheinruhr2500'];
	$rheinruhr2501 = $_POST['rheinruhr2501'];
	$rheinruhr2502 = $_POST['rheinruhr2502'];
	$rheinruhr2503 = $_POST['rheinruhr2503'];

	//ICAO-Segelflugkarte 1:500 000, Ausgabe 2013
	$berlin500s0 = $_POST['berlin500s0'];
	$berlin500s1 = $_POST['berlin500s1'];
	$berlin500s2 = $_POST['berlin500s2'];
	$berlin500s3 = $_POST['berlin500s3'];	

	$frankfurt500s0 = $_POST['frankfurt500s0'];	
	$frankfurt500s1 = $_POST['frankfurt500s1'];
	$frankfurt500s2 = $_POST['frankfurt500s2'];
	$frankfurt500s3 = $_POST['frankfurt500s3'];

	$hamburg500s0 = $_POST['hamburg500s0'];
	$hamburg500s1 = $_POST['hamburg500s1'];
	$hamburg500s2 = $_POST['hamburg500s2'];
	$hamburg500s3 = $_POST['hamburg500s3'];

	$hannover500s0 = $_POST['hannover500s0'];
	$hannover500s1 = $_POST['hannover500s1'];
	$hannover500s2 = $_POST['hannover500s2'];
	$hannover500s3 = $_POST['hannover500s3'];

	$muenchen500s0 = $_POST['muenchen500s0'];
	$muenchen500s1 = $_POST['muenchen500s1'];
	$muenchen500s2 = $_POST['muenchen500s2'];
	$muenchen500s3 = $_POST['muenchen500s3'];

	$nuernberg500s0 = $_POST['nuernberg500s0'];
	$nuernberg500s1 = $_POST['nuernberg500s1'];
	$nuernberg500s2 = $_POST['nuernberg500s2'];
	$nuernberg500s3 = $_POST['nuernberg500s3'];

	$rostock500s0 = $_POST['rostock500s0'];
	$rostock500s1 = $_POST['rostock500s1'];
	$rostock500s2 = $_POST['rostock500s2'];
	$rostock500s3 = $_POST['rostock500s3'];

	$stuttgart500s0 = $_POST['stuttgart500s0'];
	$stuttgart500s1 = $_POST['stuttgart500s1'];
	$stuttgart500s2 = $_POST['stuttgart500s2'];
	$stuttgart500s3 = $_POST['stuttgart500s3'];

	//ICAO-Segelflugkarte 1:250 000, Ausgabe 2013, Rhein Rhur
	$rheinruhr250s0 = $_POST['rheinruhr250s0'];
	$rheinruhr250s1 = $_POST['rheinruhr250s1'];
	$rheinruhr250s2 = $_POST['rheinruhr250s2'];
	$rheinruhr250s3 = $_POST['rheinruhr250s3'];

	//Streckenkarte 1:1 000 000, Ausgabe 2013
	$uluft0 = $_POST['uluft0'];
	$uluft1 = $_POST['uluft1'];

	$uoluft0 = $_POST['uoluft0'];
	$uoluft1 = $_POST['uoluft1'];

	//Europe Wall Chart
	$ewc0 = $_POST['ewc0'];
	$ewc1 = $_POST['ewc1'];

	//Weitere Luftfahrtkarten
	$weitere = $_POST['weitere'];
	if($weitere=="")
	{
		$weitere=" -";
	}

	//Flieger-Taschenkalender
	$kalender = $_POST['taschkal'];

	//Versandoptionen
	$versand = $_POST['versand'];
	if($versand=="0")
	{
		$versandart="innerhalb Deutschland kostenlos";
	}
	else
	{
		$versandart="weltweit nach Absprache";
	}

	//Rechnungsoptionen
	$rechnung = $_POST['zahlen'];
	$paypal = $_POST['paypal'];
	$kartentyp = $_POST['kartentyp'];
	$kartennummer = $_POST['kartennr'];
	$monat = $_POST['monat'];
	$jahr = $_POST['jahr'];
	$pruefnr = $_POST['pruefnr'];
	$kto = $_POST['kto'];
	$blz = $_POST['blz'];
	$bank = $_POST['bank'];
	$sum = $_POST['zwsumme']." &euro;";
	$rab = "- ".$_POST['rabattsumme']." &euro;";
	$kal = "+ ".$_POST['kalendersumme']." &euro;";
	$end = $_POST['endsumme']." &euro;";
	
	

	if($rechnung==0)
	{
		$zahlungsart="<b>Paypal</b><br>E-Mail: ".$paypal;
	}
	if($rechnung==1)
	{
		$zahlungsart="Rechnung";
	}
	if($rechnung==2)
	{
		$zahlungsart="<b>Kreditkarte</b><br>Kartentyp: ".$kartentyp."<br>Kartennummer: ".$kartennummer."<br>G&uuml;ltig bis: ".$monat.".".$jahr."<br>Pr&uuml;fnummer: ".$pruefnr;
	}
	if($rechnung==3)
	{
		$zahlungsart="<b>Lastschrift</b><br>Kontonummer: ".$kto."<br>Bankleitzahl: ".$blz."<br>Name der Bank: ".$bank;
	}

	//Anfang der eigentlichen Mail 
    $mailtext = "
	<p><b><center><font size='5'>Sammelbestellung</font></center></b></p>
	<br>
	<br>
	<p><b>Vesand/-Rechnungsadresse:</b></p>
	<table border='1'>
		<tr>
			<th width='100'>Verein:</th>
			<td width='200'>$verein</td>
		</tr>
		<tr>
			<th width='100'>Name:</th>
			<td width='200'>$name</td>
		</tr>
		<tr>
			<th width='100'>Strasse:</th>
			<td width='200'>$strasse</td>
		</tr>
		<tr>
			<th width='100'>PLZ/Ort</th>
			<td width='200'>$plzort</td>
		</tr>
		<tr>
			<th width='100'>E-Mail:</th>
			<td width='200'>$email</td>
		</tr>
		<tr>
			<th width='100'>Telefon:</th>
			<td width='200'>$tel</td>
		</tr>
		<tr>
			<th width='100'>Fax:</th>
			<td width='200'>$fax</td>
		</tr>
	</table>
	<br>
	<p><b>Luftfahrtkarte ICAO 1:500 000, inkl Nachttiefflugstrecken, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
		<th width='120'><center>gefalzt, Papier mit Folie</center></th>
		<th width='120'><center>plano, Papier mit Folie</center></th>
	</tr>
	<tr>
		<td width='150'>Berlin</td>
		<td width='120'><center>$berlin500iN0</center></td>
		<td width='120'><center>$berlin500iN1</center></td>
		<td width='120'><center>$berlin500iN2</center></td>
		<td width='120'><center>$berlin500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Frankfurt</td>
		<td width='120'><center>$frankfurt500iN0</center></td>
		<td width='120'><center>$frankfurt500iN1</center></td>
		<td width='120'><center>$frankfurt500iN2</center></td>
		<td width='120'><center>$frankfurt500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Hamburg</td>
		<td width='120'><center>$hamburg500iN0</center></td>
		<td width='120'><center>$hamburg500iN1</center></td>
		<td width='120'><center>$hamburg500iN2</center></td>
		<td width='120'><center>$hamburg500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Hannover</td>
		<td width='120'><center>$hannover500iN0</center></td>
		<td width='120'><center>$hannover500iN1</center></td>
		<td width='120'><center>$hannover500iN2</center></td>
		<td width='120'><center>$hannover500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Muenchen</td>
		<td width='120'><center>$muenchen500iN0</center></td>
		<td width='120'><center>$muenchen500iN1</center></td>
		<td width='120'><center>$muenchen500iN2</center></td>
		<td width='120'><center>$muenchen500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Nuernberg</td>
		<td width='120'><center>$nuernberg500iN0</center></td>
		<td width='120'><center>$nuernberg500iN1</center></td>
		<td width='120'><center>$nuernberg500iN2</center></td>
		<td width='120'><center>$nuernberg500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Rostock</td>
		<td width='120'><center>$rostock500iN0</center></td>
		<td width='120'><center>$rostock500iN1</center></td>
		<td width='120'><center>$rostock500iN2</center></td>
		<td width='120'><center>$rostock500iN3</center></td>
	</tr>
	<tr>
		<td width='150'>Stuttgart</td>
		<td width='120'><center>$stuttgart500iN0</center></td>
		<td width='120'><center>$stuttgart500iN1</center></td>
		<td width='120'><center>$stuttgart500iN2</center></td>
		<td width='120'><center>$stuttgart500iN3</center></td>
	</tr>
	</table>  
	<br>
	<p><b>Luftfahrtkarte ICAO 1:500 000, ohne Nachttiefflugstrecken, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
		<th width='120'><center>gefalzt, Papier mit Folie</center></th>
		<th width='120'><center>plano, Papier mit Folie</center></th>
	</tr>
	<tr>
		<td width='150'>Berlin</td>
		<td width='120'><center>$berlin500oN0</center></td>
		<td width='120'><center>$berlin500oN1</center></td>
		<td width='120'><center>$berlin500oN2</center></td>
		<td width='120'><center>$berlin500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Frankfurt</td>
		<td width='120'><center>$frankfurt500oN0</center></td>
		<td width='120'><center>$frankfurt500oN1</center></td>
		<td width='120'><center>$frankfurt500oN2</center></td>
		<td width='120'><center>$frankfurt500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Hamburg</td>
		<td width='120'><center>$hamburg500oN0</center></td>
		<td width='120'><center>$hamburg500oN1</center></td>
		<td width='120'><center>$hamburg500oN2</center></td>
		<td width='120'><center>$hamburg500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Hannover</td>
		<td width='120'><center>$hannover500oN0</center></td>
		<td width='120'><center>$hannover500oN1</center></td>
		<td width='120'><center>$hannover500oN2</center></td>
		<td width='120'><center>$hannover500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Muenchen</td>
		<td width='120'><center>$muenchen500oN0</center></td>
		<td width='120'><center>$muenchen500oN1</center></td>
		<td width='120'><center>$muenchen500oN2</center></td>
		<td width='120'><center>$muenchen500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Nuernberg</td>
		<td width='120'><center>$nuernberg500oN0</center></td>
		<td width='120'><center>$nuernberg500oN1</center></td>
		<td width='120'><center>$nuernberg500oN2</center></td>
		<td width='120'><center>$nuernberg500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Rostock</td>
		<td width='120'><center>$rostock500oN0</center></td>
		<td width='120'><center>$rostock500oN1</center></td>
		<td width='120'><center>$rostock500oN2</center></td>
		<td width='120'><center>$rostock500oN3</center></td>
	</tr>
	<tr>
		<td width='150'>Stuttgart</td>
		<td width='120'><center>$stuttgart500oN0</center></td>
		<td width='120'><center>$stuttgart500oN1</center></td>
		<td width='120'><center>$stuttgart500oN2</center></td>
		<td width='120'><center>$stuttgart500oN3</center></td>
	</tr>
	</table>  
	<br>
	<p><b>Luftfahrtkarte ICAO 1:250 000, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
		<th width='120'><center>gefalzt, Papier mit Folie</center></th>
		<th width='120'><center>plano, Papier mit Folie</center></th>
	</tr>
	<tr>
		<td width='150'>Rhein Ruhr</td>
		<td width='120'><center>$rheinruhr2500</center></td>
		<td width='120'><center>$rheinruhr2501</center></td>
		<td width='120'><center>$rheinruhr2502</center></td>
		<td width='120'><center>$rheinruhr2503</center></td>
	</tr>
	</table>  
	<br>
	<p><b>ICAO-Segelflugkarte 1:500 000, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
		<th width='120'><center>gefalzt, Papier mit Folie</center></th>
		<th width='120'><center>plano, Papier mit Folie</center></th>
	</tr>
	<tr>
		<td width='150'>Berlin</td>
		<td width='120'><center>$berlin500s0</center></td>
		<td width='120'><center>$berlin500s1</center></td>
		<td width='120'><center>$berlin500s2</center></td>
		<td width='120'><center>$berlin500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Frankfurt</td>
		<td width='120'><center>$frankfurt500s0</center></td>
		<td width='120'><center>$frankfurt500s1</center></td>
		<td width='120'><center>$frankfurt500s2</center></td>
		<td width='120'><center>$frankfurt500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Hamburg</td>
		<td width='120'><center>$hamburg500s0</center></td>
		<td width='120'><center>$hamburg500s1</center></td>
		<td width='120'><center>$hamburg500s2</center></td>
		<td width='120'><center>$hamburg500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Hannover</td>
		<td width='120'><center>$hannover500s0</center></td>
		<td width='120'><center>$hannover500s1</center></td>
		<td width='120'><center>$hannover500s2</center></td>
		<td width='120'><center>$hannover500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Muenchen</td>
		<td width='120'><center>$muenchen500s0</center></td>
		<td width='120'><center>$muenchen500s1</center></td>
		<td width='120'><center>$muenchen500s2</center></td>
		<td width='120'><center>$muenchen500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Nuernberg</td>
		<td width='120'><center>$nuernberg500s0</center></td>
		<td width='120'><center>$nuernberg500s1</center></td>
		<td width='120'><center>$nuernberg500s2</center></td>
		<td width='120'><center>$nuernberg500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Rostock</td>
		<td width='120'><center>$rostock500s0</center></td>
		<td width='120'><center>$rostock500s1</center></td>
		<td width='120'><center>$rostock500s2</center></td>
		<td width='120'><center>$rostock500s3</center></td>
	</tr>
	<tr>
		<td width='150'>Stuttgart</td>
		<td width='120'><center>$stuttgart500s0</center></td>
		<td width='120'><center>$stuttgart500s1</center></td>
		<td width='120'><center>$stuttgart500s2</center></td>
		<td width='120'><center>$stuttgart500s3</center></td>
	</tr>
	</table>  
	<br>
	<p><b>ICAO-Segelflugkarte 1:250 000, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
		<th width='120'><center>gefalzt, Papier mit Folie</center></th>
		<th width='120'><center>plano, Papier mit Folie</center></th>
	</tr>
	<tr>
		<td width='150'>Rhein Ruhr</td>
		<td width='120'><center>$rheinruhr250s0</center></td>
		<td width='120'><center>$rheinruhr250s1</center></td>
		<td width='120'><center>$rheinruhr250s2</center></td>
		<td width='120'><center>$rheinruhr250s3</center></td>
	</tr>
	</table> 
	<br>
	<p><b>Streckenkarte 1:1 000 000, Ausgabe 2013</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
	</tr>
	<tr>
		<td width='150'>Streckenkarte Unterer Luftraum mit FIS-Gebiete/MRVA</td>
		<td width='120'><center>$uluft0</center></td>
		<td width='120'><center>$uluft1</center></td>
	</tr>
	<tr>
		<td width='150'>Unterer/Oberer Luftraum</td>
		<td width='120'><center>$uoluft0</center></td>
		<td width='120'><center>$uoluft1</center></td>
	</tr>
	</table>  
	<p><b>Europe Wall Chart</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Name</th>
		<th width='120'><center>gefalzt, Papier</center></th>
		<th width='120'><center>plano, Papier</center></th>
	</tr>
	<tr>
		<td width='150'>6te Edition</td>
		<td width='120'><center>$ewc0</center></td>
		<td width='120'><center>$ewc1</center></td>
	</tr>
	</table> 
	<br>
	<p><b>Weitere Luftfahrtkarten</b></p>
	<table border='1'>
	<tr>
		<td width='630'>$weitere</td>
	</tr>
	</table>  
	<br>
	<p><b>Flieger-Taschenkalender</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Anzahl</th>
		<td width='120'><center>$kalender</center></td>
	</tr>
	</table>
	<br>
	<p><b>Versand- & Zahlungsoptionen</b></p>
	<table border='1'>
	<tr>
		<th width='150'>Versandart:</th>
		<td width='630'>$versandart</td>
	</tr>
	<tr>
		<th width='150'>Zahlungsoption:</th>
		<td width='630'>$zahlungsart</td>
	</tr>
	<tr>
		<th width='150'>Zwischensumme:</th>
		<td width='630'>$sum</td>
	</tr>
	<tr>
		<th width='150'>Rabatt:</th>
		<td width='630'>$rab</td>
	</tr>
	<tr>
		<th width='150'>Taschenkalender:</th>
		<td width='630'>$kal</td>
	</tr>
	<tr>
		<th width='150'>Endumme:**</th>
		<td width='630'>$end</td>
	</tr>
	</table>
	<div align='right'>
	<br>
	<font size='1'>** enth&auml;lt keine Betr&auml;ge aus dem Bereich Weitere Luftfahrtkarten oder Kosten f&uuml;r weltweiten Versand</font>
	</div>
	";

	//Mail an Uns
	mail(
    	$zieladresse, 
    	mb_encode_mimeheader($betreff, "utf-8", "Q"), 
    	$mailtext,
    	implode("\n", $header)
    ) or die("Die Mail konnte nicht versendet werden.");

	//Mail an Kunde
    mail(
    	$email, 
    	mb_encode_mimeheader($betreffKunde, "utf-8", "Q"), 
    	$mailtext,
    	implode("\n", $header)
    ) or die("Die Mail konnte nicht versendet werden.");
    
	//Weiterleitung
	header("Location: $urlDankeSeite");
    exit;
}

header("Content-type: text/html; charset=utf-8");

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sammelbestellungen</title>

<script language="javascript"> 

 function anzeigen(varAnz)
  {
	  switch (varAnz) {
	  	case "paypal":
	  		document.getElementById("zahlung1").style.display= "block";
	  		document.getElementById('zahlung3').style.display= "none";
	  		document.getElementById('zahlung4').style.display= "none";
	  		break;
	  	case "kreditkarte":
	  		document.getElementById("zahlung1").style.display= "none";
	  		document.getElementById('zahlung3').style.display= "block";
	  		document.getElementById('zahlung4').style.display= "none";
	  		break;
	  	case "lastschrift":
	  		document.getElementById("zahlung1").style.display= "none";
	  		document.getElementById('zahlung3').style.display= "none";
	  		document.getElementById('zahlung4').style.display= "block";
	    	break;
	  	case "rechnung":
	  		document.getElementById("zahlung1").style.display= "none";
	  		document.getElementById('zahlung3').style.display= "none";
	  		document.getElementById('zahlung4').style.display= "none";
	  		break;
	  
	  default:
	    alert("Fehler bei anzeige!");
	    break;
		  
	  }
	  return true;    
  }	  
 
 function berechne()
 {
	/*
		iN = inkl Nachttiefflugstrecken
		oN = ohne Nachttiefflugstrecken, dies beinhaltet alle Karten die es in jeweils vier Varianten gibt
		SK = Streckenkarten
		EW = Europe Wall Chart
	*/ 
	var summe = 0;
	var counter = 0;
	var zwSum = new Array();
	
	var preiseiN = new Array("12.90","12.90","15.90","15.90");
	var karteniN = new Array("berlin500iN","frankfurt500iN","hamburg500iN","hannover500iN","muenchen500iN","nuernberg500iN","rostock500iN","stuttgart500iN");
	
	var preiseoN = new Array("9.90","9.90","12.90","12.90");
	var kartenoN = new Array("berlin500oN","frankfurt500oN","hamburg500oN","hannover500oN","muenchen500oN","nuernberg500oN","rostock500oN","stuttgart500oN","rheinruhr250",
			"berlin500s","frankfurt500s","hamburg500s","hannover500s","muenchen500s","nuernberg500s","rostock500s","stuttgart500s","rheinruhr250s");
	
	var preiseSK = new Array("9.90","9.90");
	var kartenSK = new Array("uluft","uoluft");
	
	var preiseEW = new Array("31.90","31.90");
	var kartenEW = new Array("ewc");
	
	var preiseKal = new Array("20.80");
	var kartenKal = new Array("taschkal");
	
	var anz = new Array("0");
	var kartenanzahl=0;
	
	for(var i=0;i<karteniN.length;i++)
	{
		for(var j=0;j<4;j++)
		{
			zwSum[counter]=preiseiN[j]*document.getElementById(karteniN[i]+j).value;
			for(var k = 0; k<document.getElementById(karteniN[i]+j).value;k++)
			{
				kartenanzahl++;
			}
			counter++;
		}
		
	}
	
	for(var i=0;i<kartenoN.length;i++)
	{
		for(var j=0;j<4;j++)
		{
			zwSum[counter]=preiseoN[j]*document.getElementById(kartenoN[i]+j).value;
			for(var k = 0; k<document.getElementById(kartenoN[i]+j).value;k++)
			{
				kartenanzahl++;
			}
			counter++;
		}
		
	}
	
	for(var i=0;i<kartenSK.length;i++)
	{
		for(var j=0;j<2;j++)
		{
			zwSum[counter]=preiseSK[j]*document.getElementById(kartenSK[i]+j).value;
			for(var k = 0; k<document.getElementById(kartenSK[i]+j).value;k++)
			{
				kartenanzahl++;
			}
			counter++;
		}
		
	}
	
	for(var i=0;i<kartenEW.length;i++)
	{
		for(var j=0;j<2;j++)
		{
			zwSum[counter]=preiseEW[j]*document.getElementById(kartenEW[i]+j).value;
			for(var k = 0; k<document.getElementById(kartenEW[i]+j).value;k++)
			{
				kartenanzahl++;
			}
			counter++;
		}
		
	}
	
	
	var taschenkalender = "0";
	taschenkalender = preiseKal[0]*document.getElementById(kartenKal[0]).value;
	//taschenkalender = taschenkalender.toFixed(2);
	
    for(var i=0;i<zwSum.length;i++)
    {
    		summe=summe+zwSum[i];
    }
   
   summe = summe.toFixed(2);
   var rabatt = 0.00;
   
   if(kartenanzahl>19)
	{
	   rabatt = summe/100;
	   rabatt = rabatt*10;
	   rabatt = rabatt.toFixed(2);
	}
   if(kartenanzahl>49)
	{
	   rabatt = summe/100;
	   rabatt = rabatt*20;
	   rabatt = rabatt.toFixed(2);
	}
   
   var endbetrag = 0;
   endbetrag = summe - rabatt;
   endbetrag = endbetrag + taschenkalender;
   endbetrag = endbetrag.toFixed(2);
   
   var help = 0;
   help = help + taschenkalender;
   help = help.toFixed(2);
   document.getElementById('zwsum').innerHTML = summe+" &euro;";
   document.getElementById('zwsumme').value= summe;
   
   document.getElementById('rabsum').innerHTML = "- "+rabatt+" &euro;";
   document.getElementById('rabattsumme').value= rabatt;
   
   document.getElementById('kalsum').innerHTML = "+ "+help+" &euro;";
   document.getElementById('kalendersumme').value= help;
   
   document.getElementById('endsum').innerHTML = endbetrag+" &euro;";
   document.getElementById('endsumme').value= endbetrag;

 }
</script>

</head>
<body>
<form action="" method="post" accept-charset="ISO-8859-1" name="Sammelbestellungen">
<p><b><font size="4"><center>Luftfahrtkarten Sammelbestellung</center></font></b></p>
<p><b><font color="#ff7200" size="2">Ver&ouml;ffentlichungsdatum: 07. M&auml;rz 2013</font></b><p>
<div align='left'>
Ihre Rabatte:<br>
 <br>
Ab 20 Luftfahrtkarten erhalten Sie 10% Rabatt<br>
Ab 50 Luftfahrtkarten erhalten Sie 20% Rabatt

</div>
<p><b><font size="2">Versand-/Rechnungsadresse</font></b><p>
<table>
	<tr>
		<td width="100"><font size="2">Verein:</font></td>
		<td width="120"><input type="text" name="verein" id="verein" style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">Name:*</font></td>
		<td width="120"><input type="text" name="name" required style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">Strasse:*</font></td>
		<td width="120"><input type="text" name="strasse" required style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">PLZ/Ort:*</font></td>
		<td width="120"><input type="text" name="plzort" required style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">E-Mail:*</font></td>
		<td width="120"><input type="email" name="email" required style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">Telefon:</font></td>
		<td width="120"><input type="text" name="tel" style="width:200px"></td>
	</tr>
	<tr>
		<td width="100"><font size="2">Fax:</font></td>
		<td width="120"><input type="text" name="fax" style="width:200px"></td>
	</tr>
</table>
<br>
<br>
<br>
<table>
	<tr>
		<td width="150">&nbsp;</td>
		<td width="120"><font size="2"><center>gefalzt, Papier<br>(12,90 &euro;)</b></center></font></td>
		<td width="120"><font size="2"><center>plano, Papier<br>(12,90 &euro;)</center></font></td>
		<td width="120"><font size="2"><center>gefalzt, <br>Papier mit Folie<br>(15,90 &euro;)</center></font></td>
		<td width="120"><font size="2"><center>plano, <br>Papier mit Folie<br>(15,90 &euro;)</center></font></td>
	</tr>
</table>
<p><b><font size="2">Luftfahrtkarte ICAO 1:500 000, inkl Nachttiefflugstrecken, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Blatt Berlin</font></td>
		<td width="120"><center><input type="number" id="berlin500iN0" name="berlin500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500iN1" name="berlin500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500iN2" name="berlin500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500iN3" name="berlin500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Frankfurt</font></td>
		<td width="120"><center><input type="number" id="frankfurt500iN0" name="frankfurt500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500iN1" name="frankfurt500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500iN2" name="frankfurt500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500iN3" name="frankfurt500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hamburg</font></td>
		<td width="120"><center><input type="number" id="hamburg500iN0" name="hamburg500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500iN1" name="hamburg500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500iN2" name="hamburg500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500iN3" name="hamburg500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hannover</font></td>
		<td width="120"><center><input type="number" id="hannover500iN0" name="hannover500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500iN1" name="hannover500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500iN2" name="hannover500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500iN3" name="hannover500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt M&uuml;nchen</font></td>
		<td width="120"><center><input type="number" id="muenchen500iN0" name="muenchen500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500iN1" name="muenchen500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500iN2" name="muenchen500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500iN3" name="muenchen500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt N&uuml;rnberg</font></td>
		<td width="120"><center><input type="number" id="nuernberg500iN0" name="nuernberg500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500iN1" name="nuernberg500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500iN2" name="nuernberg500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500iN3" name="nuernberg500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Rostock</font></td>
		<td width="120"><center><input type="number" id="rostock500iN0" name="rostock500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500iN1" name="rostock500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500iN2" name="rostock500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500iN3" name="rostock500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Stuttgart</font></td>
		<td width="120"><center><input type="number" id="stuttgart500iN0" name="stuttgart500iN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500iN1" name="stuttgart500iN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500iN2" name="stuttgart500iN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500iN3" name="stuttgart500iN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>  
<br>
<br>
<br>
<table>
	<tr>
		<td width="150">&nbsp;</td>
		<td width="120"><font size="2"><center>gefalzt, Papier<br>(9,90 &euro;)</b></center></font></td>
		<td width="120"><font size="2"><center>plano, Papier<br>(9,90 &euro;)</center></font></td>
		<td width="120"><font size="2"><center>gefalzt, <br>Papier mit Folie<br>(12,90 &euro;)</center></font></td>
		<td width="120"><font size="2"><center>plano, <br>Papier mit Folie<br>(12,90 &euro;)</center></font></td>
	</tr>
</table>
<p><b><font size="2">Luftfahrtkarte ICAO 1:500 000, ohne Nachttiefflugstrecken, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Blatt Berlin</font></td>
		<td width="120"><center><input type="number" id="berlin500oN0" name="berlin500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500oN1" name="berlin500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500oN2" name="berlin500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500oN3" name="berlin500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Frankfurt</font></td>
		<td width="120"><center><input type="number" id="frankfurt500oN0" name="frankfurt500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500oN1" name="frankfurt500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500oN2" name="frankfurt500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500oN3" name="frankfurt500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hamburg</font></td>
		<td width="120"><center><input type="number" id="hamburg500oN0" name="hamburg500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500oN1" name="hamburg500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500oN2" name="hamburg500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500oN3" name="hamburg500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hannover</font></td>
		<td width="120"><center><input type="number" id="hannover500oN0" name="hannover500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500oN1" name="hannover500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500oN2" name="hannover500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500oN3" name="hannover500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt M&uuml;nchen</font></td>
		<td width="120"><center><input type="number" id="muenchen500oN0" name="muenchen500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500oN1" name="muenchen500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500oN2" name="muenchen500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500oN3" name="muenchen500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt N&uuml;rnberg</font></td>
		<td width="120"><center><input type="number" id="nuernberg500oN0" name="nuernberg500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500oN1" name="nuernberg500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500oN2" name="nuernberg500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500oN3" name="nuernberg500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Rostock</font></td>
		<td width="120"><center><input type="number" id="rostock500oN0" name="rostock500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500oN1" name="rostock500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500oN2" name="rostock500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500oN3" name="rostock500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Stuttgart</font></td>
		<td width="120"><center><input type="number" id="stuttgart500oN0" name="stuttgart500oN0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500oN1" name="stuttgart500oN1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500oN2" name="stuttgart500oN2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500oN3" name="stuttgart500oN3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>  
<p><b><font size="2">Luftfahrtkarte ICAO 1:250 000, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Blatt Rhein-Ruhr</font></td>
		<td width="120"><center><input type="number" id="rheinruhr2500" name="rheinruhr2500" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr2501" name="rheinruhr2501" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr2502" name="rheinruhr2502" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr2503" name="rheinruhr2503" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>

<p><b><font size="2">ICAO-Segelflugkarte 1:500 000, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Blatt Berlin</font></td>
		<td width="120"><center><input type="number" id="berlin500s0" name="berlin500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500s1" name="berlin500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500s2" name="berlin500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="berlin500s3" name="berlin500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Frankfurt</font></td>
		<td width="120"><center><input type="number" id="frankfurt500s0" name="frankfurt500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500s1" name="frankfurt500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500s2" name="frankfurt500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="frankfurt500s3" name="frankfurt500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hamburg</font></td>
		<td width="120"><center><input type="number" id="hamburg500s0" name="hamburg500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500s1" name="hamburg500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500s2" name="hamburg500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hamburg500s3" name="hamburg500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Hannover</font></td>
		<td width="120"><center><input type="number" id="hannover500s0" name="hannover500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500s1" name="hannover500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500s2" name="hannover500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="hannover500s3" name="hannover500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt M&uuml;nchen</font></td>
		<td width="120"><center><input type="number" id="muenchen500s0" name="muenchen500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500s1" name="muenchen500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500s2" name="muenchen500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="muenchen500s3" name="muenchen500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt N&uuml;rnberg</font></td>
		<td width="120"><center><input type="number" id="nuernberg500s0" name="nuernberg500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500s1" name="nuernberg500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500s2" name="nuernberg500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="nuernberg500s3" name="nuernberg500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Rostock</font></td>
		<td width="120"><center><input type="number" id="rostock500s0" name="rostock500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500s1" name="rostock500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500s2" name="rostock500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rostock500s3" name="rostock500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Blatt Stuttgart</font></td>
		<td width="120"><center><input type="number" id="stuttgart500s0" name="stuttgart500s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500s1" name="stuttgart500s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500s2" name="stuttgart500s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="stuttgart500s3" name="stuttgart500s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>   
<p><b><font size="2">ICAO-Segelflugkarte 1:250 000, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Blatt Rhein-Ruhr</font></td>
		<td width="120"><center><input type="number" id="rheinruhr250s0" name="rheinruhr250s0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr250s1" name="rheinruhr250s1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr250s2" name="rheinruhr250s2" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="rheinruhr250s3" name="rheinruhr250s3" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>

<p><b><font size="2">Streckenkarte 1:1 000 000, <font color="#ff7200">Ausgabe 2013</font></font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Streckenkarte Unterer Luftraum mit FIS-Gebiete/MRVA</font></td>
		<td width="120"><center><input type="number" id="uluft0" name="uluft0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="uluft1" name="uluft1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center></center></td>
		<td width="120"><center></center></td>
	</tr>
	<tr>
		<td width="150"><font size="2">Unterer/Oberer Luftraum</font></td>
		<td width="120"><center><input type="number" id="uoluft0" name="uoluft0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="uoluft1" name="uoluft1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center></center></td>
		<td width="120"><center></center></td>
	</tr>
</table>     
<br>
<br>
<br>
<table>
	<tr>
		<td width="150">&nbsp;</td>
		<td width="120"><font size="2"><center>gefalzt, Papier<br>(31,90 &euro;)</b></center></font></td>
		<td width="120"><font size="2"><center>plano, Papier<br>(31,90 &euro;)</center></font></td>
		<td width="120"><font size="2"><center></center></font></td>
		<td width="120"><font size="2"><center></center></font></td>
	</tr>
</table>
<p><b><font size="2">Europe Wall Chart</font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">6te Edition</font></td>
		<td width="120"><center><input type="number" id="ewc0" name="ewc0" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center><input type="number" id="ewc1" name="ewc1" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
		<td width="120"><center></center></td>
		<td width="120"><center></center></td>
	</tr>
</table>     
<br>
<br>
<br>
<div align="left">
<p><b><font size="2">Weitere Luftfahrtkarten:</font></b></p>
<font size="2">Im nachfolgenden Feld koennen sie weitere Luftkarten, die in unserem Shop gef&uuml;hrt werden, aber nicht im Formular gelistet sind, angeben. 
Bitte geben Sie hierf&uuml;r jeweils Anzahl, Artikelnummer und Bezeichnung an. Beachten Sie, dass diese Luftfahrtkarten in der automatisierten
Kalkulation nicht mit ber&uuml;cksichtigt werden.
<br>
<br>
<textarea rows="10" cols="105" name="weitere" id="weitere"></textarea>
</font>     
</div>
<br>
<br>
<br>
<table>
	<tr>
		<td width="230"><font size="2"><b>FLIEGER-TASCHENKALENDER 2013</b><center> (20,80 &euro;)</center></font></td>
		<td width="120"><center><input type="number" id="taschkal" name="taschkal" placeholder="0" size="3" style="text-align:center; width:40px;" onkeyup="javascript:berechne();"/></center></td>
	</tr>
</table>  
<br>
<br>
<br>
<p><b><font size="2">Versand- & Zahlungsoptionen</font></b></p>
<table>
	<tr>
		<td width="150"><font size="2">Versandart w&auml;hlen:</font></td>
		<td width="250"><input type="radio" name="versand" value="0" checked><font size="2"> innerhalb Deutschland kostenlos</font>
		<br><input type="radio" name="versand" value="1"><font size="2"> weltweit nach Absprache</font>
		</td>
	</tr>
	<tr>
		<td width="150">&nbsp;</td>
		<td width="250">&nbsp;</td>
	</tr>
	<tr>
		<td width="150"><font size="2">Versandart w&auml;hlen:</font></td>
		<td width="250"><input type="radio" name="zahlen" value="0" onclick="javascript:anzeigen('paypal');"><font size="2" > Paypal</font>
		<br><input type="radio" name="zahlen" value="1" checked onclick="javascript:anzeigen('rechnung');"><font size="2"> Rechnung</font>
		<br><input type="radio" name="zahlen" value="2" onclick="javascript:anzeigen('kreditkarte');"><font size="2"> Kreditkarte</font>
		<br><input type="radio" name="zahlen" value="3" onclick="javascript:anzeigen('lastschrift');"><font size="2"> Lastschrift</font>
		</td>
	</tr>
</table>

<div id="zahlung1" style="display: none">
<table>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="1"></font></td>	
		<td><font size="2">Nach Verarbeitung ihrer Bestellung erhalten Sie via Paypal eine Zahlungsaufforderung von uns. Geben Sie hierzu im nachfolgendem Feld
		ihre bei Paypal verwendete Emailadresse an.</font></td>
	</tr>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Email:</font></td>	
		<td><input type="email" name="paypal" size="30"></td>
		
	</tr>
</table>    
</div>  

<div id="zahlung3" style="display: none">
<table>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Kartentyp:</font></td>	
		<td>
			<select name="kartentyp">
				<option value="no"></option>
  				<option value="Eurocard">Eurocard</option>
  				<option value="Mastercard">Mastercard</option>
  				<option value="Visa">Visa</option>
			</select> 	
		</td>
	</tr>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Kartennummer:</font></td>	
		<td><input type="number" name="kartennr" size="9"></td>		
	</tr>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">G&uuml;ltig bis:</font></td>	
		<td>
			<select name="monat">
				<option value="no" selected></option>
				<option value="01" selected>01</option>
				<option value="02" selected>02</option>
				<option value="03" selected>03</option>
				<option value="04" selected>04</option>
				<option value="05" selected>05</option>
				<option value="06" selected>06</option>
				<option value="07" selected>07</option>
				<option value="08" selected>08</option>
				<option value="09" selected>09</option>
				<option value="10" selected>10</option>
				<option value="11" selected>11</option>
				<option value="12" selected>12</option>
			</select> 
			<select name="jahr">
				<option value="no" selected></option>
				<option value="2012" selected>2012</option>
				<option value="2013" selected>2013</option>
				<option value="2014" selected>2014</option>
				<option value="2015" selected>2015</option>
				<option value="2016" selected>2016</option>
				<option value="2017" selected>2017</option>
				<option value="2018" selected>2018</option>
				<option value="2019" selected>2019</option>
				<option value="2020" selected>2020</option>
				<option value="2021" selected>2021</option>
				<option value="2022" selected>2022</option>
			</select> 
		</td>		
	</tr>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Pr&uuml;fnummer:</font></td>	
		<td><input type="number" name="pruefnr" size="5"></td>		
	</tr>
</table>    

</div>   
<div id="zahlung4" style="display: none">
<table>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Kontonummer:</font></td>	
		<td><input type="number" name="kto" size="15"></td>
	</tr>
	<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Bankleitzahl:</font></td>	
		<td><input type="number" name="blz" size="15"></td>
		
	</tr>
		<tr>
		<td width="150"></td>
		<td width="100"><font size="2">Name der Bank:</font></td>	
		<td><input type="text" name="bank" size="40"></td>
		
	</tr>
</table>    
</div> 
<div id="zwischensumme" style="display: none">
   <input type="text" name="zwsumme" id="zwsumme" size="15">
   <input type="text" name="rabattsumme" id="rabattsumme" size="15">   
   <input type="text" name="kalendersumme" id="kalendersumme" size="15">
   <input type="text" name="endsumme" id="endsumme" size="15">   
</div> 
<br>
<br>
<p><b><font size="2">Betr&auml;ge:</font></b></p>
<table>
	<tr>
		<td width="100"><font size="2">Zwischensumme:</font></td>
		<td width="100" style="text-align:right"><font size="2"><span id='zwsum'></span></font></td>	
	</tr>
	<tr>
		<td width="100"><font size="2">Rabattsumme:</font></td>
		<td width="100" style="text-align:right"><font size="2"><span id='rabsum'></span></font></td>	
	</tr>
	<tr>
		<td width="100"><font size="2">Taschenkalender:</font></td>
		<td width="100" style="text-align:right"><font size="2"><span id='kalsum'></span></font></td>	
	</tr>
	<tr>
		<td width="100"><font size="2">Endsumme:</font></td>
		<td width="100" style="text-align:right"><font size="2"><span id='endsum'></span></font></td>	
	</tr>
</table>
<br>
<center><input type="submit" value=" " style="background-image:url(/media/content/button.png); width: 197px; height: 34px; border: 0px"></center>
</form>
<br>
<br>
<div align="right">
<font size="1">* Pflichtfelder</font>
<br>
<font size="1">** enth&auml;lt keine Betr&auml;ge aus dem Bereich Weitere Luftfahrtkarten oder Kosten f&uuml;r weltweiten Versand</font>
</div>  
</body>
</html>